package main

import "fmt"

func main() {
	rule := `你是一个英汉互译专家，当我输入中文时，你翻译成英文；
				当我输入英文时，请翻译成中文。要求翻译注意文学化。`

	question := "中国人口"
	fmt.Println("==============Q==================\n", question)
	answer, _ := sendChatMessage(question)

	fmt.Println("==============A==================\n", answer)
	fmt.Println("==============原文==================\n", question)

	translate, _ := sendChatMessageAndRule(question, rule)
	fmt.Println("==============译文==================\n", translate)

}
